﻿/**
 * 软电话的EliteClient.ini
 */
define(function() {
    var config = {
        COMMON: {
            loginForce: 1,
            DefaultPServerNo: 1,
            TimePulse: 1,
            LogoutConfirm: 0,
            logmaskedphoneno: 0 //,
                //logconsole: 3
        },
        CTI: {
            ServerEndPoint: 'ws://192.168.2.8:8080/WSCTIProxy/ws',
            NeedAgentID: 1,
            NeedPassword: 1,
            NeedQueue: 0,
            NeedQueueExt: 0,
            QueueMultiSelect: false,
            NeedPosition: 0,
            NeedExtension: 0,
            //CallOutData:{"uu_data":"2561306"},

            manyidudest: '2000',
            manyiduuserdatas: 'f_key=myd|StaffID=[Staff_ID]|EventID=[Event_GUID]|RecordID=[Recording_GUID]',

            IBReleaseState: 'Ready',
            OBReleaseState: 'NotReady',
            PreOBState: 'NotReady',
            PreOBReasonCode: 3,
            OBCallEndState: 'NotReady',
            OBCallEndReasonCode: '',
            IBCallEndState: '',
            IBCallAbandonState: '',
            IBCallAbandonReasonCode: '',
            NoCallDisconnectOB: 0,
            AutoReleaseCall: 1,

            autoprefix: '',
            //autoprefix : '',
            //AutoAnswer: 0，表示不自动应答，1表示自动应答，-1表示即便是客户端打入电话界面选定客户时也不自动应答
            AutoAnswer: -1,
            //areacode : '',

            keepalive: 1000 * 60 * 10,

            // DefaultReasonCode: ,

            NeedPDS: 0,
            cticlient: $E.softphoneBasePath + '/softphone/m7edb/softphone.m7edbent',
            ctiextras: [$E.softphoneBasePath + '/softphone/ctiextra/ctiextra_ctirecording' + $E.jsv]
        },
        CTISAVE: {
            LogAgentCall: 0,
            LogAgentCurrentState: 1,
            LogSTAAgentToday: 0,
            LogAgentDetail: 0,
            LogAgentLoginInfo: 0
        }
    };

    return config;
});